package com.atguigu.guli.service.edu;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author 杨婉莹
 *
 */
@SpringBootApplication
//这个这么都加啊 如果是一个项目的模块就只写，写在首模块的启动类就可以了
@ComponentScan({"com.atguigu.guli.**"})
@EnableFeignClients //消费者
//Nacos客户端注解
public class ServiceEduApplication {

    public static void main(String[] args) {
        SpringApplication.run(ServiceEduApplication.class, args);
    }
}